package alipay.openplatform.edu.campus.jiuye.dao.mappers.business;

import alipay.openplatform.edu.campus.jiuye.model.po.BllLogoInfoPO;
import alipay.openplatform.edu.campus.jiuye.model.po.BllLogoInfoKeyPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BllLogoInfoMapper {
    int deleteByPrimaryKey(@Param("logoId") Integer logoId );

    int insert(BllLogoInfoPO record);

    int insertSelective(BllLogoInfoPO record);

    BllLogoInfoPO selectByPrimaryKey(BllLogoInfoKeyPO key);

    int updateByPrimaryKeySelective(BllLogoInfoPO record);

    int updateByPrimaryKey(BllLogoInfoPO record);

    /**
     * 查询所有是广告位或者运营位-不分页 0不是 1是
     * @param record
     * @return
     */
    List<BllLogoInfoPO> selectByisAd(BllLogoInfoPO record);

    /**
     * 查询所有是广告位或者运营位-后台
      * @return
     */
    List<BllLogoInfoPO> selectAllLogoInfo();

}